package com.goldgov;

import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import com.goldgov.kcloud.KcloudApplication;
import com.goldgov.kcloud.api.ApiDocket;
import com.goldgov.kcloud.api.ApiOverview;
import springfox.documentation.spring.web.plugins.Docket;

@EnableScheduling
public class Application extends KcloudApplication{

	public static void main(String[] args) {
		KcloudApplication.startup(Application.class, args);
	}
	
	@Bean
	public Docket apiDocketPortal() {
		ApiOverview apiOverview = new ApiOverview("<宁夏党员教育综合服务平台接口清单>","<前台接口清单>");
		ApiDocket apiDocket = new ApiDocket("*","/*.*");//前台接口
		return apiDocket.build(apiOverview);
	}
}
